package com.shop.feign;

import com.shop.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient("website-cart-5050")
public interface CartFeginService {
    /**
     * 调用购物车查询当前返回的购物项信息
     * @return
     */
    @GetMapping("/cart/getUserByIdCartItems")
    List<OrderItemVo> getUserByIdCartItems();
}
